public final class NOABatchIO extends java.lang.Object implements GraphWriter
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
defaultRelationship
Contains the String representation of the default relationship to use.
|
| Constructor and Description |
|---|
NOABatchIO(java.lang.String defaultRelationship)
Constructs the NOABatchIO object.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
verifyRelationship(java.lang.Object edgeData)
Verifies the relationship between edges.
|
void |
writeGraph(Graph toWrite)
Writes graphs to memory.
|
private final java.lang.String defaultRelationship
public NOABatchIO(java.lang.String defaultRelationship)
defaultRelationship - the String representing the default edge
relationship.public void writeGraph(Graph toWrite)
writeGraph in interface GraphWritertoWrite - the Graph object to write to memory.private java.lang.String verifyRelationship(java.lang.Object edgeData)
Graph for representing an edge is a String. If it
not, the default relationship is used instead.edgeData -